{template header}
<style type="text/css">
  .bs-docs-example{padding: 10px;margin: 5px;}
  .nav-tabs > li{margin: 5px;padding: 10px;}
  .nav-tabs > li img{max-width: 250px;}
  .nav-tabs > li div{text-align: center;}
</style>
<a href="?c=admin&a=userBgInfo" target="_self"><i class="icon-eye-open"></i> 添加背景图</a>
<div class="bs-docs-example" style="clear:both;">
    <ul class="nav-tabs nav">
    {loop $bgList $k $v}
        <li>
            <img src="{$v['short_url']}" />
            <div class="bg_name">{$v['background_name']}</div>
            <div class="bg_edit">
                <a href="?c=admin&a=userBgInfo&type=edit&background_id={$v['background_id']}">编辑</a>
            </div>
        </li>
    {/loop}
    </ul>
</div>
{template footer}
